const goodsItem = require("./goodsItem")
module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
    const GoodsSchema = new Schema({
        goodsItem
    });

    return mongoose.model('Goods', GoodsSchema, "goods");
}